﻿-- 角色升级的一些处理
--lua script

function ActorBattlePowerhandle(sysarg)
	local battlePower = Actor.getIntProperty(sysarg, PROP_ACTOR_BATTLE_POWER)
	OnCarnivalOpenServerRankTriggerEvent(sysarg, Carnival_Rank_Type_BattlePower_6, battlePower)
end


EventCallDispatcher.registerEventCall(aeBattlePower, ActorBattlePowerhandle)

